package cn.lxb.emall.user.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserFacade {
	@GetMapping("/hello")
	String hello(@RequestParam String name);
	
	@PostMapping("/getAccount")
	String getAccount(@RequestBody String name);
	
	@PostMapping("/getUser")
	User getUser(@RequestBody User param);
}
